PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Whirl Mirror / $$$ Royal - Mashup (484).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=0.952 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=4.100 |
| 26 | fWaveScale=2.850 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=2.853 |
| 33 | fZoomExponent=0.99983 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99752 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01565 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.800 |
| 64 | mv_r=0.300 |
| 65 | mv_g=0.210 |
| 66 | mv_b=0.110 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=basstime=basstime+(bass*bass); |
| 89 | wave_0_per_frame2=t1=basstime*0.03; |
| 90 | wave_0_per_frame3= |
| 91 | wave_0_per_point1=//plot x,y,z to point on circle |
| 92 | wave_0_per_point2=smp=sample*6.283; |
| 93 | wave_0_per_point3=xp=sin(smp )*0.10; |
| 94 | wave_0_per_point4=yp=cos(smp )*0.10; |
| 95 | wave_0_per_point5=zp=0; |
| 96 | wave_0_per_point6= |
| 97 | wave_0_per_point7= |
| 98 | wave_0_per_point8=//alter shape; |
| 99 | wave_0_per_point9=angy=sin(sample*6.28*4 +t1 )*6.28; |
| 100 | wave_0_per_point10=xq=xp*cos(angy) - zp*sin(angy); |
| 101 | wave_0_per_point11=zq=xp*sin(angy) + zp*cos(angy); |
| 102 | wave_0_per_point12=xp=xq; |
| 103 | wave_0_per_point13=zp=zq; |
| 104 | wave_0_per_point14= |
| 105 | wave_0_per_point15= |
| 106 | wave_0_per_point16=//rotate on y axis; |
| 107 | wave_0_per_point17=angy=t1*0.1; |
| 108 | wave_0_per_point18=xq=xp*cos(angy) - zp*sin(angy); |
| 109 | wave_0_per_point19=zq=xp*sin(angy) + zp*cos(angy); |
| 110 | wave_0_per_point20=xp=xq; |
| 111 | wave_0_per_point21=zp=zq; |
| 112 | wave_0_per_point22= |
| 113 | wave_0_per_point23=//rotate on x axis |
| 114 | wave_0_per_point24=axs1 = sin(t1*0.15) + 1.6; |
| 115 | wave_0_per_point25=yq= yp*cos(axs1) - zp*sin(axs1); |
| 116 | wave_0_per_point26=zq= yp*sin(axs1) + zp*cos(axs1); |
| 117 | wave_0_per_point27=yp=yq; |
| 118 | wave_0_per_point28=zp=zq; |
| 119 | wave_0_per_point29= |
| 120 | wave_0_per_point30=//rotate on y axis again |
| 121 | wave_0_per_point31=axs2 = sin(t1*0.1)*3.3; |
| 122 | wave_0_per_point32=xq=xp*cos(axs2) - zp*sin(axs2); |
| 123 | wave_0_per_point33=zq=xp*sin(axs2) + zp*cos(axs2); |
| 124 | wave_0_per_point34=xp=xq; |
| 125 | wave_0_per_point35=zp=zq; |
| 126 | wave_0_per_point36= |
| 127 | wave_0_per_point37=//stretch y axis to compensate for aspect ratio |
| 128 | wave_0_per_point38=yp=yp*1.2; |
| 129 | wave_0_per_point39= |
| 130 | wave_0_per_point40=//push forward into viewpace |
| 131 | wave_0_per_point41=zp=zp+2.1; |
| 132 | wave_0_per_point42= |
| 133 | wave_0_per_point43=//project x,y,z into screenspace |
| 134 | wave_0_per_point44=xs=xp/zp; |
| 135 | wave_0_per_point45=ys=yp/zp; |
| 136 | wave_0_per_point46= |
| 137 | wave_0_per_point47=//center 0,0 in middle of screen |
| 138 | wave_0_per_point48=x=xs+0.5+q4; |
| 139 | wave_0_per_point49=y=ys+0.5+q5; |
| 140 | wave_0_per_point50= |
| 141 | wave_0_per_point51=r=1-q1; |
| 142 | wave_0_per_point52=g=1-q2; |
| 143 | wave_0_per_point53=b=1-q3; |
| 144 | wavecode_1_enabled=0 |
| 145 | wavecode_1_samples=512 |
| 146 | wavecode_1_sep=0 |
| 147 | wavecode_1_bSpectrum=0 |
| 148 | wavecode_1_bUseDots=0 |
| 149 | wavecode_1_bDrawThick=0 |
| 150 | wavecode_1_bAdditive=0 |
| 151 | wavecode_1_scaling=1.00000 |
| 152 | wavecode_1_smoothing=0.50000 |
| 153 | wavecode_1_r=1.000 |
| 154 | wavecode_1_g=1.000 |
| 155 | wavecode_1_b=1.000 |
| 156 | wavecode_1_a=1.000 |
| 157 | wavecode_2_enabled=0 |
| 158 | wavecode_2_samples=512 |
| 159 | wavecode_2_sep=0 |
| 160 | wavecode_2_bSpectrum=0 |
| 161 | wavecode_2_bUseDots=0 |
| 162 | wavecode_2_bDrawThick=0 |
| 163 | wavecode_2_bAdditive=0 |
| 164 | wavecode_2_scaling=1.00000 |
| 165 | wavecode_2_smoothing=0.50000 |
| 166 | wavecode_2_r=1.000 |
| 167 | wavecode_2_g=1.000 |
| 168 | wavecode_2_b=1.000 |
| 169 | wavecode_2_a=1.000 |
| 170 | wavecode_3_enabled=0 |
| 171 | wavecode_3_samples=512 |
| 172 | wavecode_3_sep=0 |
| 173 | wavecode_3_bSpectrum=0 |
| 174 | wavecode_3_bUseDots=0 |
| 175 | wavecode_3_bDrawThick=0 |
| 176 | wavecode_3_bAdditive=0 |
| 177 | wavecode_3_scaling=1.00000 |
| 178 | wavecode_3_smoothing=0.50000 |
| 179 | wavecode_3_r=1.000 |
| 180 | wavecode_3_g=1.000 |
| 181 | wavecode_3_b=1.000 |
| 182 | wavecode_3_a=1.000 |
| 183 | shapecode_0_enabled=0 |
| 184 | shapecode_0_sides=23 |
| 185 | shapecode_0_additive=1 |
| 186 | shapecode_0_thickOutline=0 |
| 187 | shapecode_0_textured=1 |
| 188 | shapecode_0_num_inst=1 |
| 189 | shapecode_0_x=0.500 |
| 190 | shapecode_0_y=0.700 |
| 191 | shapecode_0_rad=0.15493 |
| 192 | shapecode_0_ang=0.00000 |
| 193 | shapecode_0_tex_ang=0.00000 |
| 194 | shapecode_0_tex_zoom=0.01000 |
| 195 | shapecode_0_r=1.000 |
| 196 | shapecode_0_g=1.000 |
| 197 | shapecode_0_b=1.000 |
| 198 | shapecode_0_a=1.000 |
| 199 | shapecode_0_r2=1.000 |
| 200 | shapecode_0_g2=1.000 |
| 201 | shapecode_0_b2=1.000 |
| 202 | shapecode_0_a2=0.000 |
| 203 | shapecode_0_border_r=1.000 |
| 204 | shapecode_0_border_g=1.000 |
| 205 | shapecode_0_border_b=1.000 |
| 206 | shapecode_0_border_a=0.000 |
| 207 | shape_0_per_frame1=y=bass_att*0.5+0.2; |
| 208 | shape_0_per_frame2=x=cos(time*2)*0.5+0.5; |
| 209 | shapecode_1_enabled=0 |
| 210 | shapecode_1_sides=4 |
| 211 | shapecode_1_additive=0 |
| 212 | shapecode_1_thickOutline=0 |
| 213 | shapecode_1_textured=1 |
| 214 | shapecode_1_num_inst=1 |
| 215 | shapecode_1_x=0.500 |
| 216 | shapecode_1_y=0.500 |
| 217 | shapecode_1_rad=1.80200 |
| 218 | shapecode_1_ang=0.00000 |
| 219 | shapecode_1_tex_ang=3.14159 |
| 220 | shapecode_1_tex_zoom=0.57268 |
| 221 | shapecode_1_r=1.000 |
| 222 | shapecode_1_g=1.000 |
| 223 | shapecode_1_b=1.000 |
| 224 | shapecode_1_a=1.000 |
| 225 | shapecode_1_r2=1.000 |
| 226 | shapecode_1_g2=1.000 |
| 227 | shapecode_1_b2=1.000 |
| 228 | shapecode_1_a2=1.000 |
| 229 | shapecode_1_border_r=1.000 |
| 230 | shapecode_1_border_g=1.000 |
| 231 | shapecode_1_border_b=1.000 |
| 232 | shapecode_1_border_a=0.000 |
| 233 | shape_1_per_frame1=//ang = ang + (bass*.2) + (time*.4); |
| 234 | shape_1_per_frame2=//rad=1.781+(bass*0.025); |
| 235 | shape_1_per_frame3=ang=above(0.5,treb_att)*.063; |
| 236 | shapecode_2_enabled=0 |
| 237 | shapecode_2_sides=100 |
| 238 | shapecode_2_additive=1 |
| 239 | shapecode_2_thickOutline=0 |
| 240 | shapecode_2_textured=1 |
| 241 | shapecode_2_num_inst=1 |
| 242 | shapecode_2_x=0.900 |
| 243 | shapecode_2_y=0.500 |
| 244 | shapecode_2_rad=0.10000 |
| 245 | shapecode_2_ang=0.00000 |
| 246 | shapecode_2_tex_ang=0.00000 |
| 247 | shapecode_2_tex_zoom=0.01000 |
| 248 | shapecode_2_r=1.000 |
| 249 | shapecode_2_g=1.000 |
| 250 | shapecode_2_b=1.000 |
| 251 | shapecode_2_a=1.000 |
| 252 | shapecode_2_r2=1.000 |
| 253 | shapecode_2_g2=1.000 |
| 254 | shapecode_2_b2=1.000 |
| 255 | shapecode_2_a2=0.000 |
| 256 | shapecode_2_border_r=1.000 |
| 257 | shapecode_2_border_g=1.000 |
| 258 | shapecode_2_border_b=1.000 |
| 259 | shapecode_2_border_a=0.100 |
| 260 | shape_2_per_frame1=x = sin(time*5) * .4 + .5; |
| 261 | shape_2_per_frame2=y=treb_att*0.5; |
| 262 | shape_2_per_frame3= |
| 263 | shape_2_per_frame4=pow( (bass*.15),2); |
| 264 | shapecode_3_enabled=0 |
| 265 | shapecode_3_sides=100 |
| 266 | shapecode_3_additive=0 |
| 267 | shapecode_3_thickOutline=0 |
| 268 | shapecode_3_textured=1 |
| 269 | shapecode_3_num_inst=1 |
| 270 | shapecode_3_x=0.500 |
| 271 | shapecode_3_y=0.500 |
| 272 | shapecode_3_rad=0.03300 |
| 273 | shapecode_3_ang=0.00000 |
| 274 | shapecode_3_tex_ang=0.00000 |
| 275 | shapecode_3_tex_zoom=0.01000 |
| 276 | shapecode_3_r=1.000 |
| 277 | shapecode_3_g=1.000 |
| 278 | shapecode_3_b=1.000 |
| 279 | shapecode_3_a=1.000 |
| 280 | shapecode_3_r2=1.000 |
| 281 | shapecode_3_g2=1.000 |
| 282 | shapecode_3_b2=1.000 |
| 283 | shapecode_3_a2=0.000 |
| 284 | shapecode_3_border_r=1.000 |
| 285 | shapecode_3_border_g=1.000 |
| 286 | shapecode_3_border_b=1.000 |
| 287 | shapecode_3_border_a=0.000 |
| 288 | shape_3_per_frame1=x=.5+(bass*0.07); |
| 289 | per_frame_1=wave_r = wave_r + 0.400*( 0.60*sin(0.933*time) + 0.40*sin(1.045*time) ); |
| 290 | per_frame_2=wave_g = wave_g + 0.100*( 0.60*sin(0.900*time) + 0.40*sin(0.956*time) ); |
| 291 | per_frame_3=wave_b = wave_b + 0.100*( 0.60*sin(0.910*time) + 0.40*sin(0.920*time) ); |
| 292 | per_frame_4=mv_r = wave_r; |
| 293 | per_frame_5=mv_b = wave_b; |
| 294 | per_frame_6=mv_g = wave_g; |
| 295 | per_frame_7=q1 = 0.05*(pow(1+1.2*bass+0.4*bass_att+0.1*treb+0.1*treb_att+0.1*mid+0.1*mid_att,6)/fps); |
| 296 | per_frame_8=//q1 = 0.6*(bass+bass_att); |
| 297 | per_frame_9=mv_a = if(above(bass-1.2,1),1,bass-1.2); |
| 298 | per_frame_10=q2 = oldq2 + 0.05*(pow(1+1.2*treb+0.4*treb_att+0.1*treb+0.1*treb_att+0.1*mid+0.1*mid_att,6)/fps); |
| 299 | per_frame_11= |
| 300 | per_frame_12=//q2 = oldq2 +q1; |
| 301 | per_frame_13=oldq2 = q2 ; |
| 302 | per_frame_14=monitor = q2; |
| 303 | per_pixel_1=zoom = zoom + rad*0.1*q1; |
| 304 | per_pixel_2= |
| 305 | warp_1=`shader_body |
| 306 | warp_2=`{ |
| 307 | warp_3=` float d = texsize.zw; |
| 308 | warp_4=` float3 deltax = (GetPixel(uv + float2(1,0)*d) + GetPixel(uv + float2(1,0)*d))*0.5; |
| 309 | warp_5=` float3 deltay = (GetPixel(uv + float2(0,1)*d) + GetPixel(uv + float2(0,1)*d))*0.5; |
| 310 | warp_6=` |
| 311 | warp_7=` |
| 312 | warp_8=` ret = ((deltax+deltay - tex2D(sampler_main, (uv-0.5)*0.9 + 0.5 ))); |
| 313 | warp_9=` ret -= 0.4; |
| 314 | warp_10=`} |
| 315 | comp_1=`shader_body |
| 316 | comp_2=`{ |
| 317 | comp_3=` float rad_lq = rad * length(texsize.xy)*0.5; |
| 318 | comp_4=` float ang_lq = ang; |
| 319 | comp_5=` float2 uv_temp1 = (uv - 0.5) * texsize.xy; |
| 320 | comp_6=` float rad_hq = length(uv_temp1); |
| 321 | comp_7=` float ang_hq = atan2(-uv_temp1.y, uv_temp1.x); |
| 322 | comp_8=` |
| 323 | comp_9=` float2 uv2 = (uv - 0.5); |
| 324 | comp_10=` float rad2 = rad_lq*0.8; |
| 325 | comp_11=` float ang2 = ang_lq * M_INV_PI_2 + rad_lq*0.000 + time*0.00; |
| 326 | comp_12=` |
| 327 | comp_13=` |
| 328 | comp_14=` // FIN TYPE |
| 329 | comp_15=` float fins = 6; |
| 330 | comp_16=` ang2 = frac(ang2*fins)/fins; |
| 331 | comp_17=` // ENABLE THIS TO MAKE THE FINS ALTERNATE: (seamless!) |
| 332 | comp_18=` ang2 = abs(ang2 - 0.5/fins); |
| 333 | comp_19=` |
| 334 | comp_20=` |
| 335 | comp_21=` ang2 *= M_PI_2; |
| 336 | comp_22=` uv = 0.5 + rad2*float2(cos(ang2),sin(ang2))*texsize.zw; |
| 337 | comp_23=` |
| 338 | comp_24=` ret = 1.4*pow(saturate(GetBlur1(uv))*((tex2D(sampler_pc_main,uv)-GetBlur3(uv))),0.5); //invert |
| 339 | comp_25=`} |